import { Routes } from '@angular/router';
import {Category} from './category/category';
import {Home} from './home/home';
import {Products} from './products/products';
import {Users} from './users/users';
import { ErrorPage}  from './error-page/error-page';

export const routes: Routes = [
  {
    path:'',component:Home,
  },
  {
    path:'home',component:Home,
  },
  {
    path:'products',component:Products
  },
  {
    path:'users',component:Users
  },
  {
    path:'**',component:ErrorPage
  }

];
